<template>
  <div>
    <!-- 展开详情  -->
    <ul class="scope-wrapper">
      <li v-for="item in paramsList" :key="item.id">
        <div class="scope-title">{{item.name}}</div>
        <div class="scope-list">
          <span v-for="item2 in item.list" :key="item2.id">{{item2.name}}：{{item2.value}}</span>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  //接收父组件传过来的值
  props: ['paramsList'],
  created() {
    //接收父组件传过来的值
    console.log("接收父组件传过来的值paramsList", this.paramsList)
  }
}
</script>
